<?php
/*
 * Google Analytics Track & Redirect Stats
 * With Link Generator and URL Shortener
*/
if (isset($_GET['s']) || isset($_GET['l'])) {
	$s = $_GET['s']; $l = $_GET['l'];
	if ($fp = fopen ('garlgLinks.txt', 'a')) { 
		fwrite ($fp, "<li><a href='http://clic.gs/tools/info?url=".urlencode($s)."' title='".date("m-d-Y H:i:s")." $l'>$s</a></li>\n");
		fclose ($fp); 
	}
}
require_once('garlgLinks.txt');
?>